.demo {
    height: 400px;
    background: #fff;
    padding: 6em 0;
}

.tab .nav-tabs {
    display: inline-block;
    position: relative;
    border-bottom: none;
}

.tab .nav-tabs li {
    float: left;
    margin: 5px 20px;
}

.tab .nav-tabs li a {
    display: block;
    padding: 80px 20px 10px;
    background: #fff;
    font-size: 17px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    text-align: center;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #fff;
    margin-right: 0;
    overflow: hidden;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease 0s;
}

.tab .nav-tabs li a span {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #f2f2f2;
    margin: auto;
    font-size: 22px;
    color: #999;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    transform: rotate(45deg);
}

.tab .nav-tabs li.active a span {
    background: #29335c;
    color: #fff;
}

.tab .nav-tabs li a span i {
    transform: rotate(-45deg);
}

.tab .nav-tabs li.active a,
.tab .nav-tabs li a:hover {
    color: #999;
    border: none;
    border-bottom: 2px solid #fff;
}

.tab .nav-tabs li.active a {
    border-bottom: 2px solid #29335c;
}

.tab .tab-content {
    margin-top: -5px;
    font-size: 15px;
    color: #757575;
    line-height: 26px;
    text-align: left;
    border-top: 1px solid #e5e5e5;
}

.tab .tab-content h3 {
    font-size: 24px;
    margin-top: 0;
}


/* @media only screen and (max-width: 479px) {
    .tab .nav-tabs li {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    .tab .nav-tabs li:last-child {
        margin-bottom: 0;
    }
} */

.tab-pane_left {
    float: left;
}

.tab-pane_left img {
    width: 200px;
}

.tab-pane_left ul {
    float: right;
    margin-left: 25px;
}

.tab-pane_left ol {
    padding: 10px 0;
}

.tab-pane_left ol li {
    float: left;
    margin-right: 10px;
    border: 1px solid rgb(131, 131, 131);
    padding: 5px;
    border-radius: 5px;
    font-size: 10px;
}

.tab-pane_left ol li:hover {
    border: 1px solid #000;
    cursor: auto;
    cursor: pointer
}

.tab-pane_right {
    float: right;
}

.tab-pane_right strong {
    font-weight: bold;
    font-size: 20px;
    color: black;
    line-height: 124.8px;
    padding: 0 10px;
}

.tab-panes {
    width: 70%;
    border: 1px solid #000;
    margin: 5px 0;
    border-radius: 5px;
}